﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Admin.master" AutoEventWireup="true" CodeFile="IntegrationTransaction.aspx.cs" Inherits="SY.WebSite.Web.View.IntegrationTransaction" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>素币交易日志 - 素币管理 - 后台管理系统 - <%= Settings.Title %></title>
    <link href="<%= Settings.StaticFileDomain %>/Scripts/util/jquery-pagination/lib/jquery_pagination/pagination.css" rel="stylesheet" type="text/css" />    
    <script src="<%= Settings.StaticFileDomain %>/Scripts/util/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="<%= Settings.StaticFileDomain %>/Scripts/util/template/trimpath-template.js" type="text/javascript"></script>
    <script src="<%= Settings.StaticFileDomain %>/Scripts/util/jquery-pagination/lib/jquery_pagination/jquery.pagination.js" type="text/javascript"></script>
    <script src="<%= Settings.StaticFileDomain %>/Scripts/util/utility.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">
    <div>
	    <h1>
		    <small>素币交易日志</small>
	    </h1>
    </div>
    <form class="form-search">
	    月份：<input type="text" class="Wdate date" onClick="WdatePicker({dateFmt:'yyyy年MM月',vel:'month'})"/><input id="month" type="hidden" />
        <button type="button" class="btn" onclick="page.getList(0)">查询</button>
    </form>
    <div id="result"></div>
    <div id="pagination"></div>
    <textarea name="transaction" id="transaction" style="display:none;"> 
    <table class="table table-hover table-striped">
		<thead>
			<tr>
				<th>时间</th><th>操作者</th><th>接受者</th><th>交易素币</th><th>备注</th>
            </tr>
        </thead>
		<tbody>
            {for p in list}
			<tr>
                <td>@{p.DateTime.ToDate().Format("yyyy-MM-dd hh:mm")}</td>
                <td>@{p.FromUserName}<small>(@{p.FromUserId})</small></td>
                <td>@{p.ToUserName}<small>(@{p.ToUserId})</small></td>
                <td>@{p.Amount}</td>
                <td>@{p.Comment}</td>
			</tr>
            {forelse}
            <tr><td colspan="4">暂无相关数据</td></tr>
            {/for}
		</tbody>
	</table>
    </textarea>

    <script src="<%= Settings.StaticFileDomain %>/Scripts/page/admin/integrationtransaction.js" type="text/javascript"></script>
</asp:Content>